package com.starter.home.service;

import com.starter.home.domain.entity.Friends;
import com.baomidou.mybatisplus.extension.service.IService;
import com.starter.home.domain.vo.FriendVO;
import com.starter.home.util.CommonParam;
import com.starter.home.util.PageUtil;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2020-05-04
 */
public interface IFriendsService extends IService<Friends> {

    PageUtil getFriends(CommonParam commonParam);

    int saveRemark(Integer id, Friends friends);

    boolean changStatus(Integer id, Integer status);

    boolean deleteFriend(Integer id, Integer status);

    List<FriendVO> getFriendsApply(Integer id);
}
